#include <string.h>
#include "Persona.h"


int MATRICOLA_SIZE=6;

class Studente : public Persona{

	public :
		//static int MATRICOLA_SIZE=6;
		
		Studente(char* name,char* surname,Date* nascita,
			char* matricola) : Persona(name, surname, nascita){
		
		
		this->matricola=matricola;
	}
	
	char* getMatricola() {
		return matricola;
	}
	
	void stampa() {
		printf("Studente id: %s",matricola);
		Persona:toString();
	}
	
	private :
	 char* matricola;

};
int main(){
	Date* data=new Date(10,10,1900);
	char str[20]="marco";
	char s[20]="me";
	char a[2]="3";
	/*Persona per=new Persona("ciao","ciao",NULL);
	per->toString();*/
	Studente* stu=new Studente(str,s,data,a);
	stu->stampa();
	data->stamp();
	printf("\n");
	return 0;

}
